#include "WgtDirBrowser.h"
#include <QtWidgets/QApplication>
#include "LogManager.h"
#include <QDebug>
#include <QDir>


int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

	QString qstrWorkPath = qApp->applicationDirPath();

	QDir qdirWorking(qstrWorkPath);
	QDir::setCurrent(qstrWorkPath);

	LogManager::GetInstance()->ConfigLog(QtDebugMsg, true);
	qInstallMessageHandler(LogManager::CustomLogHandler);

	qDebug() << "---------- NtfsParse App Start ----------";
	
	WgtDirBrowser w;
    w.show();
    return a.exec();
}
